# coding:UTF-8
# ________________________
# Project_Name:pyzidonghua
# File_Name:Administrator
# Author:Administrator
# Date_Time:2022/4/28 0:00
# Description:
# ________________________
import unittest  # 导入测试框架

from selenium import webdriver
import time
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait  # 导入显式等待类
from selenium.webdriver.support import expected_conditions  # 导入等待条件
from selenium.webdriver.common.action_chains import ActionChains

from po_roject.page.index_page_recruit import IndexPage


class Index002(unittest.TestCase):
    def setUp(self) -> None:
        self.driver = webdriver.Chrome()
        self.wait = WebDriverWait(self.driver, 30)
        # 生成首页类对象
        self.index_page = IndexPage(self.driver, self.wait)
        self.driver.get('http://localhost/cloud/#/open/login')
        self.driver.maximize_window()
        self.index_page.input_user('admin')
        self.index_page.input_pwd('123456')
        self.index_page.input_verif('8888')
        self.index_page.click_login()



    def test(self) -> None:



    def tearDown(self) -> None:
        self.driver.quit()